package designpattern.active.strategy;

public class Test {
    public static void main(String[] args) {
        Strategy strategy = new Strategy();

        // 分别调用不同的策略
        strategy.drawShape(new DrawCircle());
        strategy.drawShape(new DrawTriangle());
    }
}
